package code._13io.other._02print;

import java.io.IOException;
import java.io.PrintStream;

public class Demo2 {
    public static void main(String[] args) throws IOException {
        PrintStream printStream = new PrintStream("fileTest\\a.txt");
        printStream.print(1000);
        printStream.print(3.14);
        printStream.print(true);
        printStream.close();
    }
}
